//
//  EYSelector.h
//  metadata
//
//  Created by easy on 11-5-27.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <objc/objc-runtime.h>
#import "EYMetadata.h"

@interface EYSelector : NSObject {
	SEL own;
}
@property (nonatomic, readonly) SEL ownSelector;
//sel_getName
@property (nonatomic, readonly) NSString *name;

+(id) init:(SEL) selector;
-(id) initWith:(SEL) selector;
//sel_registerName
+(id) registerWithName:(NSString *) name;
//sel_getUid
+(id) selectorWithUid:(NSString *)uid;
//sel_isEqual
+(BOOL) isEquals:(EYSelector *) sel1 to:(EYSelector *) sel2;
-(BOOL) isEquals:(EYSelector *) sel;
@end
